package org.fuys.coder.domain.auth.service.vertify.email;

import org.fuys.coder.domain.auth.model.req.EmailSendReq;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.auth.service.vertify
 * @className: EmailCodeVertify
 * @author: WangJing
 * @description: 邮箱验证码验证
 * @date: 2024/6/18 20:35
 * @version: 1.0
 */
public interface EmailCodeVerify {
    boolean verify(String email,String code);
    boolean send(EmailSendReq req);
    String getCode(String email);
    void getImageCaptcha(HttpServletResponse httpServletResponse,String uuid);
    int checkCaptcha(String uuid,String code);
}
